package com.huiquan.vocab.constant;

import java.util.ArrayList;
import java.util.List;

public class VocabConstant {

	/** 二元组：p+p. */
	public static String DYAD_P_P = "p+p";
	/** 二元组：p+o. */
	public static String DYAD_P_O = "p+o";
	/** 二元组：o+o. */
	public static String DYAD_O_O = "o+o";
	/** 二元组：o+s. */
	public static String DYAD_O_S = "o+s";
	/** 二元组：s+de. */
	public static String DYAD_S_DE = "s+de";
	/** 二元组：si+de. */
	public static String DYAD_SI_DE = "si+de";
	/** 二元组：o+de. */
	public static String DYAD_O_DE = "o+de";
	/** 二元组：o+in. */
	public static String DYAD_O_IN = "o+in";
	/** 二元组：o+in+s. */
	public static String DYAD_O_IN_S = "o+in+s";
	/** 二元组：in+s. */
	public static String DYAD_IN_S = "in+s";

	/** 小词属性. */
	public static final List<String> elementProperty = new ArrayList<>();
	/** 为了解决现病史元素属性未确定而增加的小词属性. */
	public static final List<String> elementPropertyTemp = new ArrayList<>();

	/** 元素：程度词 - de. */
	public static String ELEMENT_DEGREE = "de";
	/** 元素：疾病词 - di. */
	public static String ELEMENT_DISEASE = "di";
	/** 元素：检验指标词 - in. */
	public static String ELEMENT_INSPECTION = "in";
	/** 元素：器官辅助词 - oa. */
	public static String ELEMENT_ORGAN_ADITIONAL = "oa";
	/** 元素：器官词 - o. */
	public static String ELEMENT_ORGAN = "o";
	/** 元素：方位词 - p. */
	public static String ELEMENT_POSITION = "p";
	/** 元素：独立症状词 - si. */
	public static String ELEMENT_SYMPTOM_INDEPENDENT = "si";
	/** 元素：症状词 - s. */
	public static String ELEMENT_SYMPTOM = "s";
	/** 元素：原因词 - r. */
	public static String ELEMENT_REASON = "r";
	/** 元素：时间词 - t. */
	public static String ELEMENT_TIME = "t";
	/** 元素：频率词 - fr. */
	public static String ELEMENT_FREQUENCY = "fr";
	/** 元素：价值词 - vu. */
	public static String ELEMENT_VALUE = "vu";
	/** 元素：其他 - other. */
	public static String ELEMENT_OTHER = "oth";

	static {
		elementProperty.add(ELEMENT_DEGREE);
		elementProperty.add(ELEMENT_DISEASE);
		elementProperty.add(ELEMENT_INSPECTION);
		elementProperty.add(ELEMENT_ORGAN_ADITIONAL);
		elementProperty.add(ELEMENT_ORGAN);
		elementProperty.add(ELEMENT_POSITION);
		elementProperty.add(ELEMENT_SYMPTOM_INDEPENDENT);
		elementProperty.add(ELEMENT_SYMPTOM);
		elementProperty.add(ELEMENT_REASON);
		elementProperty.add(ELEMENT_TIME);
		elementProperty.add(ELEMENT_FREQUENCY);
		elementProperty.add(ELEMENT_VALUE);
	}

	static {
		elementPropertyTemp.add(ELEMENT_DEGREE);
		elementPropertyTemp.add(ELEMENT_DISEASE);
		elementPropertyTemp.add(ELEMENT_INSPECTION);
		elementPropertyTemp.add(ELEMENT_ORGAN_ADITIONAL);
		elementPropertyTemp.add(ELEMENT_ORGAN);
		elementPropertyTemp.add(ELEMENT_POSITION);
		elementPropertyTemp.add(ELEMENT_SYMPTOM_INDEPENDENT);
		elementPropertyTemp.add(ELEMENT_SYMPTOM);
		elementPropertyTemp.add(ELEMENT_REASON);
		elementPropertyTemp.add(ELEMENT_TIME);
		elementPropertyTemp.add(ELEMENT_FREQUENCY);
		elementPropertyTemp.add(ELEMENT_OTHER);
		elementPropertyTemp.add(ELEMENT_VALUE);
	}

	/** 提交SVN的小词属性. */
	public static final List<String> submitSVNElementProperty = new ArrayList<>();

	static {
		submitSVNElementProperty.add(ELEMENT_DEGREE);
		submitSVNElementProperty.add(ELEMENT_DISEASE);
		submitSVNElementProperty.add(ELEMENT_INSPECTION);
		submitSVNElementProperty.add(ELEMENT_ORGAN_ADITIONAL);
		submitSVNElementProperty.add(ELEMENT_ORGAN);
		submitSVNElementProperty.add(ELEMENT_POSITION);
		submitSVNElementProperty.add(ELEMENT_SYMPTOM_INDEPENDENT);
		submitSVNElementProperty.add(ELEMENT_SYMPTOM);
		submitSVNElementProperty.add(ELEMENT_REASON);
	}
}
